package com.ynding.spring.physical.redis.meta.queue.delayed;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * <p> 队列监听器 </p>
 *
 * @author ynding
 * @version 2022/4/20
 **/
@Component
@Slf4j
public class QueueTestListener implements RedisDelayedQueueListener<Object> {

    @Override
    public void invoke(Object o) {
        log.info("o:{}", o);
        System.out.println(o);
    }
}
